package com.hwadee.springboot.service;

import com.hwadee.springboot.entity.Exam;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hwadee.springboot.entity.Question;

import java.util.List;

/**
* @author 86152
* @description 针对表【exam】的数据库操作Service
* @createDate 2025-05-21 09:23:00
*/
public interface ExamService extends IService<Exam> {

    Boolean publishExam(Exam exam);

    List<Question> listQuestionsByExamId(Integer id);

    List<Exam> getAvailableExams(Long studentId);
}

